package com.zhongwang.business.gen.mapper;

import com.zhongwang.business.gen.entity.ContractMain;
import com.zhongwang.business.gen.entity.ContractMainExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ContractMainMapper {
    long countByExample(ContractMainExample example);

    int deleteByExample(ContractMainExample example);

    int deleteByPrimaryKey(Integer contId);

    int insert(ContractMain record);

    int insertSelective(ContractMain record);

    List<ContractMain> selectByExample(ContractMainExample example);

    ContractMain selectByPrimaryKey(Integer contId);

    int updateByExampleSelective(@Param("record") ContractMain record, @Param("example") ContractMainExample example);

    int updateByExample(@Param("record") ContractMain record, @Param("example") ContractMainExample example);

    int updateByPrimaryKeySelective(ContractMain record);

    int updateByPrimaryKey(ContractMain record);
}